import request from '@/utils/request'

// 查询快捷意见列表
export function listWfUsedOpinion(query) {
  return request({
    url: '/task/wfUsedOpinion/list',
    method: 'get',
    params: query
  })
}

// 查询快捷意见详细
export function getWfUsedOpinion(id) {
  return request({
    url: '/task/wfUsedOpinion/' + id,
    method: 'get'
  })
}

// 保存快捷意见
export function saveWfUsedOpinion(data) {
  return request({
    url: '/task/wfUsedOpinion/save',
    method: 'post',
    data: data
  })
}

// 删除快捷意见
export function delWfUsedOpinion(id) {
  return request({
    url: '/task/wfUsedOpinion/' + id,
    method: 'delete'
  })
}
